// 头部
%w {
  width: 100%;
  margin: 0 auto;
}
.header {
  width: 100%;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 1px 8px #ddd;

  .navBar {
    @extend %w;
    position: relative;

    .logo {
      float: left;
      width: 185px;
      margin-right: 20px;
    }

    .nav li {
      float: left;
      padding: 0 18px;
      height: 78px;
      line-height: 110px;

      &:hover {
        border-bottom: 2px solid #e60012;
      }
    }
    .subNav {
      position: absolute;
      top: 10px;
      right: 5px;
      height: 14px;
      font-size: 12px;
      color: #333;
      & li {
        float: left;
        padding: 0 8px;

        &:last-child img {
          vertical-align: middle;
          margin-right: 5px;
        }

        & + li {
          border-left: 1px solid #999;
        }
      }
    }
    .search {
      float: right;
      margin-top: 40px;

      .searchCon {
        float: left;
        width: 203px;
        height: 28px;
        border: 0;
        border: 1px solid #999;
        border-right: 0;
        text-indent: 5px;
      }

      .searchBtn {
        float: right;
        width: 30px;
        height: 30px;
        border: 0;
        background: url(../images/icon-seach.png) no-repeat center center
          #f20015;
      }
    }
  }
}
